import addblog from './components/addblog'
import showblogs from './components/showblogs'
import singleblog from './components/singleblog'
import editblog from './components/editblog'

export default [
    { path: '/', component: showblogs },
    {
        path: '/add',
        component: addblog,
        // meta: {
        //     keepAlive: true // 需要缓存
        // }
    },
    { path: '/blog/:id', component: singleblog },
    { path: '/edit/:id', component: editblog },
]